import service from '@/utils/request'
// eslint-disable-next-line no-unused-vars
const { httpPostForm, httpPost, httpGet } = service

const request = {
    //根据条件分页查询现场发料
    sceneStoreIssue (params) {
        return httpPost({
            url: '/material/onSiteMaterialIssuance/listByEntity',
            params
        })
    },
    //新增现场发料
    AddsceneStoreIssue (params) {
        return httpPost({
            url: '/material/onSiteMaterialIssuance/create',
            params
        })
    },
    //修改现场发料
    EditsceneStoreIssue (params) {
        return httpPost({
            url: '/material/onSiteMaterialIssuance/update',
            params
        })
    },
    //修改现场发料明细
    EditsceneStoreIssueList (params) {
        return httpPost({
            url: '/material/onSiteMaterialIssuance/updateList',
            params
        })
    },
    //修改现场发料明细
    relevanceConInfo (params) {
        return httpPost({
            url: '/material/onSiteMaterialIssuance/relatedContract',
            params
        })
    },
}

export default request